# -*- coding: utf-8 -*-

from urllib.request import urlopen
from bs4 import BeautifulSoup

html = urlopen("http://lavenliu.cn/post/test01.html")
bs_obj = BeautifulSoup(html.read(), 'html.parser')
print(bs_obj.h1)
